package com.retoc.oawx.mapper;

import cn.hutool.core.date.DateTime;
import com.retoc.oawx.domain.CarUse;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.ArrayList;
import java.util.HashMap;

/**
* @author retoc
* @description 针对表【tb_car_use】的数据库操作Mapper
* @createDate 2022-06-22 10:29:27
* @Entity com.retoc.oawx.domain.CarUse
*/
@Mapper
public interface CarUseMapper extends BaseMapper<CarUse> {

    public int createCarUse(CarUse caruse);

    public int setInstanceId(HashMap map);

    public ArrayList<HashMap> selectOldCarUseByCreater(HashMap param);

    public ArrayList<HashMap> selectCarUseByCreater(HashMap param);

    public int updateCarUse(CarUse carUse);

    public HashMap selectCarUseById(int id);

    public CarUse myselectById(int id);

    public int deleteByid(int id);

    public CarUse selectCarUseByInstanceId(String instanceId);

    public CarUse selectCarUseByUuid(String uuid);

    void approveCarUseByInstanceId(String instanceId);

    ArrayList<HashMap> searchCarUseInfo(HashMap param);
}




